<?
		include '../libraries/open_db_connection.php';
		include '../libraries/get_values.php';
		include '../auth/auth.php';
		include '../libraries/support.php';
		include '../libraries/close_db_connection.php';

	if ($_GET['oldpic'] != "")
	{
		include '../libraries/open_db_connection.php';
		include '../auth/auth.php';
		include 'gallery_blog_realm.php';
		hide_picture_blog($_GET['oldpic'],$_GET['ID']);
		include '../libraries/close_db_connection.php';
	}
?>

<table width="750" cellpadding="0" cellspacing="1" class="admintable" align="center">
  <tr>
	
<form action="../minigal/gallup.php" method="post" enctype="multipart/form-data">

  </tr>
  <tr>
  <td>Image title: </td><td><input type="text" name="title"></td>
  </tr>
  <tr>
  <td>Audio description for the picture:</td>
  <td><textarea name="audio_description" cols="60" rows="10"></textarea></td>
  </tr>
  <input type="hidden" name="event_ID" value="<?echo $_GET['ID'];?>"/>
  <tr >
    <td >Main image</td>
    <td ><input type="file" name="file0" size="50" class="admintext" /></td>
  </tr>
    <td class="admintd" colspan="10">
      <input type="hidden" name="main" value="set" />
	  <input type="hidden" name="upload" value="set" />
	  <input type="hidden" name="realm" value="<?echo $_GET['realm'];?>" />
      <input type="submit" title="Submit" />
    </td>
  </tr>

  </form>